package dav.mobile.garuda.components;

/*
 * Constant static class :
 * - Contains all global variable that being used through the game.
 */
public class Constants {	
	//Game Engine Components
	public static final int GAME_WIDTH = 480;
	public static final int GAME_HEIGHT = 320;
	
	public static final int GAME_WIDTH_DEPLOY = 480;
	public static final int GAME_HEIGHT_DEPLOY = 320;
	
	public static final int GAME_SPRITE_NUMBER = 1000;
	
	public static final String GAME_PROFILE_FILE = "res/profile.ggp";
	public static final String GAME_FONT_FOLDER = "res/fonts/";
	public static final String GAME_SCENE_FOLDER = "res/scenes/";
	public static final String GAME_LEVEL_FOLDER = "res/levels/";
	public static final String GAME_SOUND_BGM_FOLDER = "res/sounds/bgm/";
	public static final String GAME_SOUND_SFX_FOLDER = "res/sounds/sfx/";
	public static final String GAME_TEXTURE_FOLDER = "res/textures/";
	
	public static final String	GAME_SCENE_EXTENSION = ".gsc";
	public static final String 	GAME_LEVEL_EXTENSION = ".ggd";
	
	public static boolean GAME_SOUND_ENABLED = true;
	
	//Menu Components
	public static final int MENU_TITLE_WIDTH = 376;
	public static final int MENU_TITLE_HEIGHT = 102;
	
	public static final int MENU_SOUND_X = 420;
	public static final int MENU_SOUND_Y = 17;
	public static final int MENU_SOUND_WIDTH = 36;
	public static final int MENU_SOUND_HEIGHT = 37;
	
	public static final int MENU_PLAY_WIDTH = 128;
	public static final int MENU_PLAY_HEIGHT = 62;

	public static final int GAME_PLACE_NUM = 5;
	
	public static final int GAME_PLACE_PROLOG = 0;
	public static final int GAME_PLACE_BORNEO = 1;
	public static final int GAME_PLACE_BUNAKEN = 2;
	public static final int GAME_PLACE_PRAMBANAN = 3;
	public static final int GAME_PLACE_TOBA = 4;
	public static final int GAME_PLACE_EPILOG = 5;
	
	public static final int	MAP_PLACES_WIDTH = 91;
	public static final int MAP_PLACES_HEIGHT = 74;
	
	public static int MAP_PLACES_X = 120;
	public static int MAP_PLACES_Y = 10;
	
	public static final int	MAP_INFO_WIDTH = 108;
	public static final int MAP_INFO_HEIGHT = 74;
	public static final int	MAP_INFO_X = 220;
	public static final int MAP_INFO_Y = 10;
	
	public static final int	MAP_BUTTON_WIDTH = 49;
	public static final int MAP_BUTTON_HEIGHT = 50;
	
	//Scene State Components
	public static final int 	SCENE_TEXTBOX_WIDTH = 462;
	public static final int 	SCENE_TEXTBOX_HEIGHT = 133;
	public static final int 	SCENE_TEXTBOX_X = 11;
	public static final int 	SCENE_TEXTBOX_Y = 8;
	public static final int 	SCENE_TEXT_X = 30;
	public static final int 	SCENE_TEXT_Y = 95;
	public static final int 	SCENE_NAME_X = 350;
	public static final int 	SCENE_NAME_Y = 120;
	
	//Game Components
	public static final int GAME_BACKGROUND_NUMBER = 5;
	
	public static final int ENCOUNTER_SPRITES_NUM = 4;
	public static final int ENCOUNTER_BUNGA_FRAME = 4;
	public static final int ENCOUNTER_BURUNG_FRAME = 7;
	
	public static final int GAME_GARUDA_FRAME = 9;
	public static final int GAME_GARUDA_WIDTH = 92;
	public static final int GAME_GARUDA_HEIGHT = 107;
	
	public static final int GAME_SCORE_X = 15;
	public static final int GAME_SCORE_Y = 310;
	public static final int GAME_LENGTH_X = 15;
	public static final int GAME_LENGTH_Y = 290;
	
	public static final float PIXELS_PER_METER = 10;
}
